import { F10Component } from "./f10.component";
import { MainIndicatorComponent } from "./main-indicator/main-indicator.component";
import { CompProfileComponent } from "./comp-profile/comp-profile.component";
import { ManageComponent } from "./manage/manage.component";
import { NewsComponent } from "./news/news.component";
import { ReportsComponent } from "./reports/reports.component";
import { ManagersComponent } from "./managers/managers.component";
import { CapitalComponent } from "./capital/capital.component";
import { ShareholderComponent } from "./shareholder/shareholder.component";
import { ShareComponent } from "./share/share.component";
import { BonusComponent } from "./bonus/bonus.component";
import { FinanceComponent } from "./finance/finance.component";
import { EventComponent } from "./event/event.component";
import { RankingComponent } from "./ranking/ranking.component";

export const f10Routes = {
  path: 'f10',
  component: F10Component,
  children: [
    {
      path: 'main',
      component: MainIndicatorComponent
    },
    {
      path: 'profile',
      component: CompProfileComponent
    },
    {
      path: 'manage',
      component: ManageComponent
    },
    {
      path: 'news',
      component: NewsComponent
    },
    {
      path: 'reports',
      component: ReportsComponent
    },
    {
      path: 'managers',
      component: ManagersComponent
    },
    {
      path: 'capital',
      component: CapitalComponent
    },
    {
      path: 'shareholder',
      component: ShareholderComponent
    },
    {
      path: 'share',
      component: ShareComponent
    },
    {
      path: 'bonus',
      component: BonusComponent
    },
    {
      path: 'finance',
      component: FinanceComponent
    },
    {
      path: 'event',
      component: EventComponent
    },
    {
      path: 'ranking',
      component: RankingComponent
    },
    {
      path: "",
      pathMatch: "full",
      redirectTo: "main"
    }
  ]
}